#pragma once

#include "GfxObject.h"

namespace mgfx
{
	class Mesh;
	class Material;

	class MeshInstance : public GfxObject
	{
	public:
		Mesh * Mesh_;
		Material * Material_;

		void init(Mesh & mesh, Material & material);

		virtual MeshInstance* copy() const;
	};
}